package cn.edu.nju.bankaccount.model;

/**
 * 
 * @author ZhangZu
 *
 */
public class Account {
	private double money;
	private int accountNum; 
	private User user;
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	
	public int getAccountNum() {
		return accountNum;
	}
	public void setAccountNum(int accountNum) {
		this.accountNum = accountNum;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}

	public String toString() {
		return "{AccountNum:"+accountNum+";User:"+user+";Money:"+money+"}";
	}
}
